package com.wms.mapper;

import com.wms.entity.RawMaterialArrivalRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RawMaterialArrivalRecordMapper {
    /**
     * 获取原料到货记录详情
     * @return
     */
    List<RawMaterialArrivalRecord> selectAll();

    /**
     * 修改到货原料记录
     * @param arrivalNum 到货数量
     * @param note 备注
     * @param storeAreaId 卸货库区
     * @return
     */
    int updateRawMaterialArrivalRecord(@Param("id") int id,@Param("arrivalNum") int arrivalNum, @Param("note") String note, @Param("storeAreaId") int storeAreaId);
}
